18. Exercise: Remove Guests
Removing Guests
During this exercise, you'll remove guests from the database by swiping them off the waitlist list.
Exercise Code
Exercise: T07.06-Exercise-RemoveGuests
SOLUTION:
- Create removeGuest method that removes a record from DB
- Create a new ItemTouchHelper that handles swiping guests off the list
- Set the tag of the recyclerview item to the DB id of that guest